home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Programming / Infinity Windoid WDEF 2.6 / Other Versions / WindoidDefines.h—THINK vers < prev    next >
Text File  |  1994-04-01  |  2KB  |  90 lines

  1. //******************************************************************************
  2. //
  3. //    WindoidDefines.h
  4. //
  5. //******************************************************************************
  6. #ifndef __WindoidDefines__
  7. #define __WindoidDefines__
  8.  
  9. //******************************************************************************
  10. //    Conditional Compilation Options
  11. //------------------------------------------------------------------------------
  12.  
  13. #define THINK_STYLE
  14.  
  15. #define THICK_TITLEBAR
  16. // #define TITLE_STRING
  17.  
  18. #define ALLOW_VERT
  19.  
  20. //******************************************************************************
  21. //    Combinations
  22. //        These should pretty much remain untouched
  23. //------------------------------------------------------------------------------
  24.  
  25. #ifdef VERS_2_2_COMPATIBLE
  26.     #ifndef MFI_ZOOM
  27.     #define MFI_ZOOM
  28.     #endif
  29.     
  30.     #ifndef STAYPUT_ZOOM
  31.     #define STAYPUT_ZOOM
  32.     #endif
  33. #endif
  34.  
  35. //------------------------------------------------------------------------------
  36.  
  37. #ifdef THINK_STYLE
  38.     #ifndef ALLOW_VERT
  39.     #define ALLOW_VERT
  40.     #endif
  41.  
  42.     #ifndef ALWAYS_HILITE
  43.     #define ALWAYS_HILITE
  44.     #endif
  45.  
  46.     #ifdef MACAPP_STYLE
  47.     #undef MACAPP_STYLE
  48.     #endif
  49. #endif
  50.  
  51. //------------------------------------------------------------------------------
  52.  
  53. #ifdef MACAPP_STYLE
  54.     #ifdef ALLOW_VERT
  55.     #undef ALLOW_VERT
  56.     #endif
  57.  
  58.     #ifdef ALWAYS_HILITE
  59.     #undef ALWAYS_HILITE
  60.     #endif
  61.  
  62.     #ifndef ALLOW_GROW
  63.     #define ALLOW_GROW
  64.     #endif
  65. #endif
  66.  
  67. //------------------------------------------------------------------------------
  68.  
  69. #ifdef SYS7_OR_LATER
  70.     #ifndef USE_GESTALT
  71.     #define USE_GESTALT
  72.     #endif
  73. #endif
  74.  
  75. //******************************************************************************
  76. //    System version define for the Apple Interfaces
  77. //------------------------------------------------------------------------------
  78.  
  79. #ifdef SYS7_OR_LATER
  80.     #define SystemSevenOrLater 1    
  81. #else
  82.     #define SystemSixOrLater 1        
  83. #endif
  84.  
  85.     // This is used so that we can cut down on the code size in MPW. If 
  86.     // support for earlier systems is important, get rid of this. 
  87.     // Note: for this define to work under THINK C, MacHeaders cannot be used.
  88.  
  89. //******************************************************************************
  90. #endif